<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>九九乘法表</title>
    <style>
        table{
            width:600px;
            border-collapse: collapse;
            
        }
        table td{
            border:#000000 1px solid;
            text-align: center;
        }
        a:link,a:visited{
                color: #222;text-decoration: none;}
           a:hover{color: #fd4913;}
    </style>
</head>
<body>
  <h2>九九乘法表</h2>
    <script>    
    document.write('<table>')
    for(var i=1;i<10;++i){

        document.write('<tr>');

        for(var j=1;j<=i;++j){
            document.write('<td>'+j+'*'+i+'='+(j*i)+'</td>');
            
        }document.write('</tr>');
    }
    document.write('</table>');
    </script>
    <p><a href="default.html">返回目录</a></p>
    <p><a href="第二章.html">返回第二章</a></p>>
    <p><a href="第三章.html">下一章</a></p>
</body>
</html>